package com.Cychat.post.service.impl;


import com.Cychat.commons.entity.pojo.MessageReminding;
import com.Cychat.post.entity.dto.RemindingDTO;
import com.Cychat.post.mapper.MessageRemindingMapper;
import com.Cychat.post.service.MessageRemindingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: 崔航
 * @Date: 2025/11/4:14:09
 * @Description:
 */
@Service
public class MessageRemindingServiceImpl extends ServiceImpl<MessageRemindingMapper, MessageReminding> implements MessageRemindingService {
    @Autowired
    private MessageRemindingMapper messageRemindingMapper;
    @Override
    public List<RemindingDTO> getMessageRemindingByreceiverId(Long receiverId) {
        List<RemindingDTO> remindingDTOs = messageRemindingMapper.getMessageRemindingByreceiverId(receiverId);

        return remindingDTOs;
    }
}
